<?php

namespace app\admin\controller;

class Order extends Common 
{
	public function confrim()
	{	
		$id = input('post.id');
		$result = DB::name('order_base')
			->where('oid', $id)
			->update('status', ORDER_CONFRIM);
	}

	public function cancel()
	{
		$id = input('post.id');
		$result = DB::name('order_base')
			->where('oid', $id)
			->update('status', ORDER_CONFRIM);
	}

	public function edit()
	{
		
	}
}
